Runtime-Flexible Multi-dimensional Arrays and Views for C++98 and C++0x
نویسندگان
چکیده
Multi-dimensional arrays are among the most fundamental and most useful data structures of all. In C++, excellent template libraries exist for arrays whose dimension is fixed at runtime. Arrays whose dimension can change at runtime have been implemented in C. However, a generic object-oriented C++ implementation of runtime-flexible arrays has so far been missing. In this article, we discuss our new implementation called Marray, a package of class templates that fills this gap. Marray is based on views as an underlying concept. This concept brings some of the flexibility known from script languages such as R and MATLAB R © to C++. Marray is free both for commercial and non-commercial use and is publicly available from www.andres.sc/marray.
منابع مشابه
Functionalized Carbon Nanotubes Produced by APCVD using Camphor
A simple chemical vapor deposition technique at atmospheric pressure (APCVD) is adopted to synthesize the aligned arrays of functionalized multi-walled carbon nanotubes (AMWCNTs) without using any carrier gas, at 230◦C, 750◦C and 850 ◦C. Camphor (C10H16O) is used as carbon source because this botanical hydrocarbon is chip and abundant which convert the CVD technique to a green method for produc...
متن کاملMulti-electrode arrays technology for the non-invasive recording of neural signals: a review article
The recording of electrophysiological activities of brain neurons in the last half-century has been considered as one of the effective tools for the development of neuroscience. One of the techniques for recording the activity of nerve cells is the multi-electrode arrays (MEAs). Microelectrode arrays (MEAs) are usually employed to record electrical signals from electrogenic cells like neurons o...
متن کاملOptimal Reconfiguration of Solar Photovoltaic Arrays Using a Fast Parallelized Particle Swarm Optimization in Confront of Partial Shading
Partial shading reduces the power output of solar modules, generates several peak points in P-V and I-V curves and shortens the expected life cycle of inverters and solar panels. Electrical array reconfiguration of PV arrays that is based on changing the electrical connections with switching devices, can be used as a practical solution to prevent such problems. Valuable studies have been perfor...
متن کاملA high performance lithium-ion battery using LiNa0.02K0.01FePO4/C as cathode material and anatase TiO2 nanotube arrays as anode material
In this paper we report on a lithium ion battery (LIB) based on improved olivine lithium iron phosphate/carbon (LiFePO4/C) as cathode material and LiNa0.02K0.01FePO4/C synthesized by sol-gel method and TiO2 nanotube arrays (TNAs) with an anatase phasesynthesized through anodization of Ti foil as an anode electrode. Crystallographic structure and surface morphology of the cathode and anode mate...
متن کاملSupport for Distributed Dynamic Data Structures in C + +
Traditionally, applications executed on distributed memory architectures in single-program multiple-data (SPMD) mode use distributed (multi-dimensional) data arrays. Good performance has been achieved by applying runtime techniques to such applications executing in a loosely synchronous manner. However, many applications utilize language constructs such as pointers to synthesize dynamic complex...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1008.2909 شماره
صفحات -
تاریخ انتشار 2010